package top.go2do.auth.business.user.service;

import top.go2do.auth.business.user.module.LoginCheckBO;
import top.go2do.auth.business.user.module.LoginResultVO;
import top.go2do.common.module.UserPO;

/**
 * @Description
 * @Author xingyj
 * @CreateTime 2025/4/1 17:02
 */
public interface LoginService {
    boolean loginCheck(LoginCheckBO checkBO);
    LoginResultVO generateLoginResult(Long userId);
    LoginResultVO toLoginWithToken(LoginCheckBO checkBO);
    UserPO findByAppIdAndUserName(String appId, String username);
}

